import { axios } from "@/services/axios";

const PaymentActivity = {
  get: data => axios.get(`api/paymentactivity/${data.id}`),
  getlist: params => axios.post(`api/paymentactivity/list`, params),
  create: data => axios.post("api/paymentactivity", data),
  getid: data => axios.get("api/paymentactivity", data),
  save: data => axios.post(`api/paymentactivity/${data.id}`, data),
  delete: data => axios.post(`api/paymentactivity/delete/${data.id}`),
  getunlist: params => axios.post(`api/paymentactivity/unlist`, params),
};

export default PaymentActivity;